package com.itheima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

@EnableDiscoveryClient
@SpringBootApplication
public class XiaodiCouponApplication {

    public static void main(String[] args) {
        SpringApplication.run(XiaodiCouponApplication.class, args);
        System.setProperty("spring.cloud.bootstrap.enabled","true");
    }

}
